<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/js/jquery-2.1.1.min.js"></script>

</head>
<body>
<div th:insert="/commen/commen.html"></div>
<form id="addform">
    车辆:<input type="text" name="cname" id="text"><br>
    价格:<input type="text" name="price" id="ser"><br>
    分类:
    <th:block th:each="l : ${list}">
        <input type="checkbox"  name="tid"  th:value="${l.tid}" >[[${l.tname}]]
    </th:block>
</form>
</body>
</html>